<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{yhcdhpList.bundleName}"/>
    <head>
        <title>#{text['yhcdhpList.title']}</title>
        <meta name="heading" content="#{text['yhcdhpList.heading']}"/>
        <meta name="menu" content="YhcdhpMenu"/>
    </head>
<body id="yhcdhpList">
<h:form id="editYhcdhp">

<h:commandButton value="#{text['button.add']}" action="add" id="add" immediate="true" styleClass="button"/>
<h:commandButton value="#{text['button.done']}" action="mainMenu" id="cancel" immediate="true" styleClass="button" style="margin-left: 5px"/>

<t:dataTable id="yhcdhps" var="yhcdhp" style="margin-top: 10px"
    value="#{yhcdhpList.yhcdhps}" rows="25" sortColumn="#{yhcdhpList.sortColumn}"
    sortAscending="#{yhcdhpList.ascending}" styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">
    
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="jbh" arrow="true">
                <h:outputText value="#{text['yhcdhp.jbh']}" />
            </t:commandSortHeader>
        </f:facet>
         <h:commandLink action="#{yhcdhpForm.edit}" value="#{yhcdhp.jbh}">
            <f:param name="yhcdhpid" value="#{yhcdhp.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
    
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="je" arrow="true">
                <h:outputText value="#{text['yhcdhp.je']}" />
            </t:commandSortHeader>
        </f:facet>
         <h:commandLink action="#{yhcdhpForm.edit}" value="#{yhcdhp.je}">
            <f:param name="yhcdhpid" value="#{yhcdhp.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
   <!--  
     <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="id" arrow="true">
                <h:outputText value="#{text['yhcdhp.id']}" />
            </t:commandSortHeader>
        </f:facet>
       
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="bzjbl" arrow="true">
                <h:outputText value="#{text['yhcdhp.bzjbl']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.bzjbl}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="dbdw" arrow="true">
                <h:outputText value="#{text['yhcdhp.dbdw']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.dbdw}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="dbfs" arrow="true">
                <h:outputText value="#{text['yhcdhp.dbfs']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.dbfs}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="dbw" arrow="true">
                <h:outputText value="#{text['yhcdhp.dbw']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.dbw}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="fdbdw" arrow="true">
                <h:outputText value="#{text['yhcdhp.fdbdw']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.fdbdw}" escape="true"/>
    </t:column>
    
    
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="operation" arrow="true">
                <h:outputText value="#{text['yhcdhp.operation']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.operation}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="optdate" arrow="true">
                <h:outputText value="#{text['yhcdhp.optdate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.optdate}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="pgjz" arrow="true">
                <h:outputText value="#{text['yhcdhp.pgjz']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.pgjz}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="qzrq" arrow="true">
                <h:outputText value="#{text['yhcdhp.qzrq']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.qzrq}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="username" arrow="true">
                <h:outputText value="#{text['yhcdhp.username']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.username}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="version" arrow="true">
                <h:outputText value="#{text['yhcdhp.version']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.version}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="xh" arrow="true">
                <h:outputText value="#{text['yhcdhp.xh']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.xh}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="zmjz" arrow="true">
                <h:outputText value="#{text['yhcdhp.zmjz']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{yhcdhp.zmjz}" escape="true"/>
    </t:column>
    --> 
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="yhcdhps"/>
</ui:include>

<script type="text/javascript">
    highlightTableRows("editYhcdhp:yhcdhps");
</script>

</h:form>
</body>
</f:view>
</html> 